<?php
namespace Yzadmin\Model;
use Think\Model\ViewModel;
 
class JifeiModel extends ViewModel {
      //定义主表的表名称
     public $viewFields = array(     
        'jifeiip_log'=>array("*"),     
        'news'=>array('title'=>'title', '_on'=>'jifeiip_log.news_id=news.id'),      

        );
 }
?>